package com.zhentao.common;

/**
 * @ClassName: Constans
 * @Author: 振涛教育_Q
 * @Date: 2024/12/2 21:32
 */
public class Constans {

    /**
     * @description   用户登录存储的key
     */
    public static final String USER_LOGIN_REDIS = "user:login:";

    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    /**
     * @description   用户登录过期时间
     */
    public static final Long USER_REDIS_EXPIRE = 30L;

    /**
     * @description   用户验证码存储的key
     */
    public static final String USER_CAPTCHA_REDIS = "user:captcha:";
    /**
     * @description   用户登录过期时间
     */
    public static final Long USER_CAPTCHA_TTL = 2L;

    /**
     * @description   系统值 1
     */
    public static final Integer SYS_YES = 1;
    /**
     * @description   系统值 2
     */
    public static final Integer SYS_NO = 0;
    /**
     * @description   vedio---》minio 使用的前缀
     */
    public static final String VEDIO_PREFIX = "vedio";

    /**
     * @description   vedio---》minio 使用的前缀  redis
     */
    public static final String VEDIO_PREFIX_REDIS = "vedio:path:";

    /**
     * @description   手绘---》minio 使用的前缀
     */
    public static final String VEDIO_PREFIX_HAND = "hand";

    /**
     * @description   手绘---》minio 使用的前缀 redis
     */
    public static final String HAND_PREFIX_REDIS = "hand:path:";

    /**
     * @description   视频路径和图片路径的过期时间
     */
    public static final Long VEDIO_HAND_EXPIRE = 60L;
    /**
     * @description   将档案初始化到缓存当中
     */
    public static final String FILES_REDIS = "files:select:";

}
